//
//  RootViewController.h
//  SoupApp
//
//  Created by pro2 on 2018/11/1.
//  Copyright © 2018 pro2. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface RootViewController : QMUICommonViewController

@property (strong,nonatomic) UIView *naviView;
@property (strong,nonatomic) UIColor *shandownColor;
@property (strong,nonatomic) UILabel *naviTitle;


/**
 设置NavigationBar是否隐藏 默认为NO
 
 @param hidden hidden
 */
- (void)setNaviViewHidden:(BOOL)hidden;

/**
 隐藏返回按钮
 */
- (void)hiddenBackBtn;

/**
 返回按钮点击事件
 
 @param sender 返回按钮
 */
- (void)backBtnPressed:(UIButton *)sender;

/**
 设置NavigationBar背景颜色 title字体颜色
 */
- (void)setNavBackgroundColor:(UIColor *)color txtColoc:(UIColor *)txtColor;

/**
 设置右边按钮
 */
- (void)setRightButtonWithTitle:(NSString *)title
                          image:(UIImage *)image
                         himage:(UIImage *)hImage
                         action:(SEL)action;

/**
 设置右边2个按钮
 */
- (void)setRightButtonWithTitle:(NSString *)title
                          image:(UIImage *)image
                         himage:(UIImage *)hImage
                         action:(SEL)action
                       subtitle:(NSString *)subtitle
                       subimage:(UIImage *)subimage
                      subhimage:(UIImage *)subhimage
                      subaction:(SEL)subaction;

@end

NS_ASSUME_NONNULL_END
